package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.SelectVo;
import com.zb.entity.ZjFactoryEmp;

import java.util.Map;

/**
 * <p>
 * 厂商人员表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-02-27
 */
public interface ZjFactoryEmpService extends IService<ZjFactoryEmp> {

    /**
     * 保存更改品牌厂商人员
     * @param factoryId 品牌商家ID
     * @param accountId 账号ID
     */
    void saveFactoryAdmin(Long factoryId, Long accountId);

    /**
     * 获取商家详情之账号管理
     * @param factoryId 品牌商家ID
     * @param selectVo 搜索对象
     * @return
     */
    Map<String, Object> getFactoryEmpAccountList(Long factoryId, SelectVo selectVo);
}
